projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c277095
)
* net/tramp.el (tramp-handle-copy-directory): Don't use
author
Michael Albinus
<michael.albinus@gmx.de>
Sat, 7 Nov 2009 23:52:48 +0000
(23:52 +0000)
committer
Michael Albinus
<michael.albinus@gmx.de>
Sat, 7 Nov 2009 23:52:48 +0000
(23:52 +0000)
`file-remote-p' (due to compatibility).
lisp/net/tramp.el
patch
|
blob
|
history
diff --git
a/lisp/net/tramp.el
b/lisp/net/tramp.el
index f89c32102e27be199aab8f3733ab8fba7351a8c2..7a6da178a6175f0dacaaeffa07bb68065c126bb7 100644
(file)
--- a/
lisp/net/tramp.el
+++ b/
lisp/net/tramp.el
@@
-3404,8
+3404,9
@@
tramp-handle-file-name-all-completions: internal error accessing `%s': `%s'"
;; When DIRNAME and NEWNAME are remote, they must have
;; the same method.
(or (null t1) (null t2)
- (string-equal (file-remote-p dirname 'method)
- (file-remote-p newname 'method))))
+ (string-equal
+ (tramp-file-name-method (tramp-dissect-file-name dirname))
+ (tramp-file-name-method (tramp-dissect-file-name newname)))))
;; scp or rsync DTRT.
(progn
(setq dirname (directory-file-name (expand-file-name dirname))